import { defineStore } from "pinia"
import {ref} from "vue"

export const useUserStore = defineStore('user-store', () => {
    const userInfo = ref({
        userId: '888',
        userName: '小红'
    })

    const getUserInfo = () => {

    }

    //userInfo.value['/admin/user/list'] = true
    userInfo.value['/admin/user/add'] = true
    return { userInfo, getUserInfo }
})